/*
 * RepairCommand.h
 *
 *  Created on: Oct 14, 2008
 *      Author: Ryan
 */

#ifndef REPAIRCOMMAND_H_
#define REPAIRCOMMAND_H_

#include "Command.h"

namespace OOInterface
{

class RepairCommand: public OOInterface::Command
{
public:
	RepairCommand( ConstUnitPtr repair ): _repair( repair ) {}
	virtual ~RepairCommand() {}

	ConstUnitPtr getRepairUnit() const { return _repair; }
	void setRepairUnit( ConstUnitPtr repair ) { _repair = repair; }

	virtual std::string toString() const { return std::string("RepairCommand"); }

private:
	ConstUnitPtr _repair;
};

}

#endif /* REPAIRCOMMAND_H_ */
